import request from "../index";
export const UserApi = {
  SignIn: "/auth/signin",
  User: "/user",
};

//登录
export function signin(data) {
  return request.post({
    url: UserApi.SignIn,
    data,
  });
}
//用户列表
export function userList() {
  return request.get({ url: UserApi.User });
}
